#ifndef KEDIALOGTOAST_H
#define KEDIALOGTOAST_H

#include "../../../../kegui_global.h"

#include <QDialog>
#include <QHBoxLayout>
#include <QLabel>
#include <QEvent>
#include <QMouseEvent>


#include <QString>


namespace kepen {
namespace core {

class KEGUI_EXPORT KeDialogToast : public QDialog
{
    Q_OBJECT

public:
    explicit KeDialogToast(QWidget *parent);
    ~KeDialogToast();
public:
    void show(const QString &text);
    void onTimerClose();

    void mousePressEvent(QMouseEvent* event);

private:
    QLabel*  m_label;

};

}
}

#endif // KEDIALOGTOAST_H
